package com.atlige.gzmall.order.feign;

import com.atlige.gzmall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author: Jeremy lI
 * @description:
 * @date: created in 2021/7/4 17:35
 */
@FeignClient("gzmall-cart")
public interface CartFeignService {
    @GetMapping("/currentUserCartItems")
    @ResponseBody
    List<OrderItemVo> getCurrentUserCartItems();
}
